package cn.sangkf.litemall.product.feign;

import cn.sangkf.litemall.common.to.SkuReductionTo;
import cn.sangkf.litemall.common.to.SpuBoundTo;
import cn.sangkf.litemall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author : sangkf
 * @package : cn.sangkf.litemall.product.feign.CouponFeignService
 * @date : 2021/1/5 下午10:08 星期二
 * @description : TODO
 * @version: 1.0
 * <p>Copyright: Copyright (c) 2020</p>
 */
@FeignClient("litemall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/save")
    R saveSpuBouds(@RequestBody SpuBoundTo spuBoundTo);

    @PostMapping("/coupon/skufullreduction/saveInfo")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
